package com.liveneo.adapter.base.mapper;

import java.util.List;
import java.util.Map;
import com.liveneo.adapter.base.entity.PrpmVideo;
import com.liveneo.adapter.mobile.model.dto.PrpmReplayDto;
import com.liveneo.adapter.mobile.model.dto.PrpmVideoDto;

@SuppressWarnings("rawtypes")
public interface PrpmVideoMapper {
    int deleteByPrimaryKey(Long ID);

    int insert(PrpmVideo record);

    int insertMoreRows(List<PrpmVideo> record);

    PrpmVideo selectByPrimaryKey(Long ID);

    List<PrpmVideo> selectAll();

    int updateByPrimaryKey(PrpmVideo record);

    void updateUserCodeByCaseNo(Map record);

    List<PrpmVideo> selectByUuid(String record);

    List<PrpmVideo> selectByCaseNo(String record);

    List<PrpmVideo> selectByCaseNoAndUseCode(String caseNo);

    List<PrpmVideo> selectByBean(PrpmVideoDto prpmVideoDto);

    PrpmVideo selectByFlowNo(String flowNo);

    List<PrpmVideo> selectToBeUpload();

    List<PrpmVideo> selectToBeUploadByCaseuuid(String caseUuid);

    List<PrpmVideo> selectToBeUploadByCaseno(String caseUuid);

    List<PrpmVideo> selectByCaseUuidAndVideoType(String caseUuid);

    List<PrpmVideo> selectByCaseNoVideoTypeAndUpload(String record);

    List<PrpmVideo> selectByUserCode(String userCode);

    // 测试级联
    List<PrpmReplayDto> selectReplayList(PrpmReplayDto replayDto);

    List<PrpmVideo> selectVideoFail(PrpmVideo prpmVideo);

    String selectRecentAgtID(String caseUuid);

    PrpmVideo selectByOssUuidAndBreakPointFlag(String ossUuid);
}
